import Mock from "mockjs"


const data = Mock.mock('@guid()')
// 配置一个登录请求的接口
Mock.mock('/api/login','post',(config:any)=>{
    return {
        token:data,
        msg:'登录成功',
        code:200,
        name:'admin',
        password:'123456'
    }
})
